package com.ezandroid.util;

import com.google.gson.FieldNamingPolicy;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

/**
 * Json util.
 *
 * @author markmjw
 * @date 2015-09-30
 */
public class JsonUtil {

    public final static Gson GSON = new GsonBuilder()
            .setFieldNamingPolicy(FieldNamingPolicy.LOWER_CASE_WITH_UNDERSCORES)
            .disableHtmlEscaping()
            .create();

    private JsonUtil() {
    }
}
